package cn.yunhe.entity;

public class User {

    private int uid;
    private String uname;
    private int state;
    private String pwd;
    private int flag;
    private int loginTime;

    public User() {
    }

    public User(int uid) {
        this.uid = uid;
    }


    public User(int uid, String uname) {
        this.uid = uid;
        this.uname = uname;
    }

    public User(String uname, String pwd) {
        this.uname = uname;
        this.pwd = pwd;
    }

    public User(int uid, String uname, int state, String pwd, int flag, int loginTime) {
        this.uid = uid;
        this.uname = uname;
        this.state = state;
        this.pwd = pwd;
        this.flag = flag;
        this.loginTime = loginTime;
    }

    public User(String uname, String pwd, int state, int flag, int loginTime) {
        this.uname = uname;
        this.pwd = pwd;
        this.state = state;
        this.flag = flag;
        this.loginTime = loginTime;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public int getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(int loginTime) {
        this.loginTime = loginTime;
    }
}
